﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MemberDetails.ascx.cs" Inherits="AdminTool_AdminControl_ManageMember" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
    .style2
    {
        font-size: x-large;
        font-style: italic;
        font-weight: bold;
    }
</style>
<body style="text-align: center">
    <p>
        <br />
        <span class="style2">Danh Sách Thành Viên</span></p>
    <asp:GridView ID="memberdetail" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" ForeColor="#333333" GridLines="None">
        <RowStyle BackColor="#E3EAEB" />
        <Columns>
            <asp:BoundField DataField="username" HeaderText="Tên Đăng Nhập" />
            <asp:BoundField DataField="fullname" HeaderText="Họ Tên" />
            <asp:BoundField DataField="email" HeaderText="Email" />
            <asp:BoundField DataField="phone" HeaderText="Điện Thoại" />
            <asp:BoundField DataField="birthday" HeaderText="Ngày Sinh" />
            <asp:BoundField DataField="address" HeaderText="Địa Chỉ" />
            <asp:TemplateField HeaderText="Tùy Chỉnh">
                <ItemTemplate>
                    <table class="style1">
                        <tr>
                            <td align="center">
                                <asp:HyperLink ID="delete" runat="server" NavigateUrl="<%# Bind('delete') %>">Xóa</asp:HyperLink>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                <asp:HyperLink ID="edit" runat="server" NavigateUrl="<%# Bind('edit') %>">Chỉnh sửa</asp:HyperLink>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#7C6F57" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>








